package cn.wolfcode.trip.base.mapper;

import cn.wolfcode.trip.base.domain.TransactionRecord;
import cn.wolfcode.trip.base.query.QueryObject;
import cn.wolfcode.trip.base.query.TransactionRecordQuery;

import java.util.List;

public interface TransactionRecordMapper {
    void deleteByPrimaryKey(Long id);  //删除记录的接口

    void insert(TransactionRecord record);

    TransactionRecord selectByPrimaryKey(Long id);

    List<TransactionRecord> selectAll();

    int updateByPrimaryKey(TransactionRecord record);

    List<TransactionRecord> selectForList(QueryObject queryObject);

    List<TransactionRecord> selectForApp(TransactionRecordQuery qo);
}